{include file="header.tpl" title="Chi tiet Access GL can duyet"}
<form action="" method="post" target="_self" name="tongquat" autocomplete="off">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="80%" colspan="3" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v} 	  	
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_TABLE_NAME}</td>
    <td colspan="3" nowrap="nowrap"><span style="color:#FF0000">
      
      <input name="TABLE" type="text" id="TABLE" value="{$TABLE}" size="25" maxlength="10" style="background:{$colorTABLE}; text-align:left;"  {if $activefield eq 'enabled'} disabled="disabled" {/if}/>
      *
      <input name="TABLEtmp" id="TABLEtmp" value="{$TABLE}" type="hidden" readonly="readonly"/>
<input type="button" onclick="mywindow = window.open('log_column_comments_id.php?name=TABLE-COLUMN-TYPE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="tablename" id="replacement_binoculars" value="     " />
<input type="submit" id="replacement_find" name="find" value="    " {if $activefield eq 'enabled'} disabled="disabled" {/if} />
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_COLUMN_NAME}</td>
    <td><span style="color:#FF0000">
      <input name="COLUMN" type="text" id="COLUMN" value="{$COLUMN}" size="30" maxlength="50" style="background:{$colorCOLUMN};" readonly="readonly"/>
      <input name="COLUMNtmp" id="COLUMNtmp" value="{$COLUMN}" type="hidden"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_DATA_TYPE}</td>
    <td><span style="color:#FF0000">
      <input name="TYPE" type="text" id="TYPE" value="{$TYPE}" size="30" maxlength="50" style="background:{$colorTYPE};" readonly="readonly"/>
      <input name="TYPEtmp" id="TYPEtmp" value="{$TYPE}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COMMENT_ORG}</td>
    <td><span style="color:#FF0000">
      <input name="ORG" type="text" id="ORG" value="{$ORG}" size="50" maxlength="50" style="background:{$colorORG};" readonly="readonly"/>
      <input name="ORGtmp" id="ORGtmp" value="{$ORG}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COMMENT_VN}</td>
    <td><span style="color:#FF0000">
      <input name="VN" type="text" id="VN" value="{$VN}" size="50" maxlength="50" style="background:{$colorVN};" readonly="readonly" />
      <input name="VNtmp" id="VNtmp" value="{$VN}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COMMENT_EN}</td>
    <td><span style="color:#FF0000">
      <input name="EN" type="text" id="EN" value="{$EN}" size="50" maxlength="50" style="background:{$colorEN};" readonly="readonly"/>
      <input name="ENtmp" id="ENtmp" value="{$EN}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td><input name="TOTAL" id="TOTAL" type="hidden" readonly="readonly"/>
      <span style="color:#0033CC">
      <input type="hidden" name="capnhatbctc" id="capnhatbctc" value="{$ten_hieu_chinh}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="updateRow();" onkeypress="setSelected(0)"/>
      </span></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center" style="width:800px;height:300px;overflow:auto;border:1px solid #6B82AC;">
      <table border="0" cellpadding="0" cellspacing="1" id="tblSample" >
        <thead>
          <tr>
            <th></th>
            <th>{$lbl_STT}</th>
            <th>{$lbl_TABLE_NAME}</th>
            <th>{$lbl_COLUMN_NAME}</th>
            <th>{$lbl_DATA_TYPE}</th>
            <th>{$lbl_COMMENT_ORG}</th>
            <th>{$lbl_COMMENT_VN}</th>
            <th>{$lbl_COMMENT_EN}</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
        </tbody>
      </table>
    </div>
    
    </td>
  </tr>  
	
<tr>
  <td colspan="4">
  <p></p>
  <p></p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'TABLE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $disabled eq 'false' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $disabled eq 'false' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_log_column_comments.php?id={$TABLE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$tbldata}
{$javascriptsetstyle}
{include file="footer.tpl"}
